﻿using Infrastructure.WebApi;
using System.ComponentModel.DataAnnotations.Schema;

namespace Application.DTO
{
    public class PassiveListRequest:PageRequest
    {
        public string Key { get; set; }
        public string Keyword { get; set; }
    }

    public class PassiveListResponse
    {
        public DateTime CreateTime { get; set; }
        public string Status { get; set; }
        public string UpdateTime { get; set; }
        public int ServerId { get; set; }
        public string ServerKey { get; set; }
        public string Value { get; set; }
    }


    public class PassiveForm
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Key { get; set; }
        public string CallbackValue { get; set; }
        public string Notices { get; set; }
        public string NoticeObjects { get; set; }
    }

    public class NoticeInfo
    {
        public bool IsEnble { get; set; }
        public string TriggerValue { get; set; }
        public string Content { get; set; }
    }

    public class PassiveCallback
    {
        public string Key { get; set; }
        public string Token { get; set; }
        public string Value { get; set; }
    }
}
